import { request, goodsData, getMoreData } from "./request";

// export function requestHomeMultidata() {
//   return request({
//     url: "/productlist",
//     method: "post",
//   });
// }

export function requestHomeMultidata(type, page) {
  let apiKey="50040a9b44bd4427b738e924886b7a83"
  let productId="16679089";
  let deviceId="e7806ae87f0446f79b852d8594ce46b6";

  return request({
    url: "/statushispage",
    method:"POST",
    params: {
      type,
      page,
      apiKey,
      productId,
      deviceId,

    }
  });
}

export function getMoreHomeData(type) {
  return getMoreData(type);
}

export const HomeGoodsData = goodsData;
